package com.hxk;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
/**
 * springboot整合servlet通过注解实现
 * @author Cactus
 */
@SpringBootApplication
@ServletComponentScan//使用注解整合servlet时必须使用此注解
public class App {

	public static void main(String[] args) {
		SpringApplication.run(App.class, args);
	}

}
